<style tyle="text/css">
    .modal-lg {
        width: 80%;
    }
    .panel {
        margin-bottom: 0px;
    }
</style>
<div class="panel panel-default">
    <div class="modal-header">
        <h4 class="modal-title">游团团期信息</h4>
    </div>
    <div class="modal-body panel-body">
        <form name="form" class="form-horizontal form-validation ng-pristine ng-valid ng-valid-required">
            <div class="form-group">
                <div class="col-lg-3 control-label">产品特色:</div>
                <div class="col-lg-7">                   
                    <textarea type="text" class="form-control" 
                    ng-model="tourbase.product_manage_ecommend_arr" 
                    ng-required = "true"
                    style="max-width: 100% ; height: 80px"
                    >
                    </textarea>
                </div>
            </div>
            <div class="form-group">
                <div class="col-lg-3 control-label">跟团条款:</div>
                <div class="col-lg-7">                   
                    <textarea type="text" class="form-control" 
                    ng-model="tourbase.with_group_terms" 
                    ng-required = "true"
                    style="max-width: 100% ; height: 80px"
                    >
                    </textarea>
                </div>
            </div>
            <div class="form-group">
                <label class="col-lg-3 control-label">退改说明:</label>
                <div class="col-lg-9">
                    <div class="radio">
                        <label class="i-checks">
                            <input type="radio" name="terms_type" ng-model="tourbase.terms_type" value="0">
                            <i></i>跟团退改
                        </label>
                        <label class="i-checks" style="margin-left: 10px">
                            <input type="radio" name="terms_type" ng-model="tourbase.terms_type" value="1">
                            <i></i>其他
                        </label>
                    </div>
                </div>
            </div>
            <div class="form-group">
                <label class="col-lg-3 control-label">出发方式:</label>
                <div class="col-lg-9">
                    <div class="radio">
                        <label class="i-checks">
                            <input type="radio" name="departure_mode" ng-model="tourbase.departure_mode" value="0">
                            <i></i>飞机
                        </label>
                        <label class="i-checks" style="margin-left: 10px">
                            <input type="radio" name="departure_mode" ng-model="tourbase.departure_mode" value="1">
                            <i></i>火车
                        </label>
                        <label class="i-checks">
                            <input type="radio" name="departure_mode" ng-model="tourbase.departure_mode" value="2">
                            <i></i>轮船
                        </label>
                        <label class="i-checks" style="margin-left: 10px">
                            <input type="radio" name="departure_mode" ng-model="tourbase.departure_mode" value="3">
                            <i></i>汽车
                        </label>
                        <label class="i-checks">
                            <input type="radio" name="departure_mode" ng-model="tourbase.departure_mode" value="4">
                            <i></i>无
                        </label>
                    </div>
                </div>
            </div>
            <div class="form-group">
                <label class="col-lg-3 control-label">返程方式:</label>
                <div class="col-lg-9">
                    <div class="radio">
                        <label class="i-checks">
                            <input type="radio" name="return_mode" ng-model="tourbase.return_mode" value="0">
                            <i></i>飞机
                        </label>
                        <label class="i-checks" style="margin-left: 10px">
                            <input type="radio" name="return_mode" ng-model="tourbase.return_mode" value="1">
                            <i></i>火车
                        </label>
                        <label class="i-checks">
                            <input type="radio" name="return_mode" ng-model="tourbase.return_mode" value="2">
                            <i></i>轮船
                        </label>
                        <label class="i-checks" style="margin-left: 10px">
                            <input type="radio" name="return_mode" ng-model="tourbase.return_mode" value="3">
                            <i></i>汽车
                        </label>
                        <label class="i-checks">
                            <input type="radio" name="return_mode" ng-model="tourbase.return_mode" value="4">
                            <i></i>无
                        </label>
                    </div>
                </div>
            </div>
            <div class="form-group">
                <label for="inputDate" class="col-sm-3 control-label">首图</label>
                <div class="col-md-6">
                        <img ng-src="{{tourbase.image_top}}" width="100%" height="200" ng-model="tourbase.image_top">
                        <input type="file" nv-file-select uploader="uploader1" / ng-hide="hide===true" ><br/>
                        <ul class="list-group">
                            <li class="list-group-item" ng-repeat="item in uploader1.queue">
                            文件名: <span ng-bind="item.file.name"></span>
                            <button type="button" class="btn btn-default btn-xs"  ng-click="item.upload()"><span class="glyphicon glyphicon-upload"></span> 上传</button>
                            <div class="progress mt10">
                                <div class="progress-bar" role="progressbar" ng-style="{ 'width': uploader1.progress + '%' }"></div>
                            </div>
                            </li>
                            <font face="Courier" class="text-danger">注:上传图片尺寸为750 * 1334</font>         
                        </ul>
                </div>
            </div>
            <div class="form-group">
                <label for="inputDate" class="col-sm-3 control-label">封面图片</label>
                <div class="col-md-6">
                        <img ng-src="{{tourbase.image_arr}}" width="100%" height="200" ng-model="tourbase.image_arr">
                        <input type="file" nv-file-select uploader="uploader2" / ng-hide="hide===true" ><br/>
                        <ul class="list-group">
                            <li class="list-group-item" ng-repeat="item in uploader2.queue">
                            文件名: <span ng-bind="item.file.name"></span>
                            <button type="button" class="btn btn-default btn-xs"  ng-click="item.upload()"><span class="glyphicon glyphicon-upload"></span> 上传</button>
                            <div class="progress mt10">
                                <div class="progress-bar" role="progressbar" ng-style="{ 'width': uploader2.progress + '%' }"></div>
                            </div>
                            </li>
                            <font face="Courier" class="text-danger">注:上传图片尺寸为750 * 1334</font>         
                        </ul>
                </div>
            </div>
    </form>

        
    </div>
    <div class="modal-footer">
        <button class="btn btn-success" type="button" ng-click="save()">保存</button>
        <!-- <button class="btn btn-danger" type="button" ng-click="close()">关闭</button> -->
    </div>

</div>